Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbox2d.collision
Class ShapeDef

    java.lang.Object
      org.jbox2d.collision.ShapeDef

Direct Known Subclasses:
  CircleDef, PolygonDef

    public class ShapeDef

extends java.lang.Object

Field Summary
`int` | `categoryBits`
`float` | `density`
`float` | `friction`
`int` | `groupIndex`
`boolean` | `isSensor`
`int` | `maskBits`
`float` | `restitution`
`ShapeType` | `type`
`java.lang.Object` | `userData`

Constructor Summary
`ShapeDef()`

Method Summary

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### type

    public ShapeType type

### userData

    public java.lang.Object userData

### friction

    public float friction

### restitution

    public float restitution

### density

    public float density

### categoryBits

    public int categoryBits

### maskBits

    public int maskBits

### groupIndex

    public int groupIndex

### isSensor

    public boolean isSensor

Constructor Detail

### ShapeDef

    public ShapeDef()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD